package com.fly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fly.bean.po.ElectricityConsumptionPo;
import com.fly.bean.request.ElectricityConsumptionRequest;
import com.fly.bean.result.AABillResult;

public interface ElectricityConsumptionService extends IService<ElectricityConsumptionPo> {
    void testInsert();

    /**
     * 根据月份查询电量消耗数据
     * @param month
     * @return
     */
    ElectricityConsumptionPo queryByMonth(String month);

    /**
     * 新增电量数据
     * @param request
     */
    void insertNewData(ElectricityConsumptionRequest request);

    /**
     * AA账单
     * @param yearAndMonth
     * @return
     */
    AABillResult AABill(String yearAndMonth);
}
